package com.sdy.service;
import com.sdy.po.Product;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ProductService {

    List<Product> getAll();

    Boolean update(Product product);

    Boolean insert(Product product);

    Boolean delete(Product product);

    Product getAbstractOne(Integer id);

    Product getConcreteOne(Integer id,Integer specificationId);

}
